//
//  SettingViewController.m
//  Bees
//
//  Created by NowYouCanSee on 2018/12/28.
//  Copyright © 2018 xiaohan. All rights reserved.
//

#import "SettingViewController.h"
#import "SafetyViewController.h"
#import "LanguageSetViewController.h"
#import "NodeSetViewController.h"

@interface SettingViewController ()

@end

@implementation SettingViewController
- (instancetype)init
{
    return [super initWithStyle:UITableViewStylePlain];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}
- (void)setupUI{
    self.title = XLocalized(@"系统设置");
//    LMJWordArrowItem *item0 = [LMJWordArrowItem itemWithTitle:XLocalized(@"语言设置") subTitle:@""];
//    item0.cellHeight = 60.0f;
//    item0.destVc = [LanguageSetViewController class];
    LMJWordArrowItem *item1 = [LMJWordArrowItem itemWithTitle:XLocalized(@"节点设置") subTitle: @""];
    item1.cellHeight = 60.0f;
    item1.destVc = [NodeSetViewController class];
    LMJWordArrowItem *item2 = [LMJWordArrowItem itemWithTitle:XLocalized(@"安全管理") subTitle: @""];
    item2.cellHeight = 60.0f;
    item2.destVc = [SafetyViewController class];
    LMJItemSection *section = [LMJItemSection sectionWithItems:@[/*item0,*/item1,item2] andHeaderTitle:nil footerTitle:nil];
    [self.sections addObject:section];
    self.tableView.tableFooterView = [UIView new];
}

@end
